package com.jumi.microservice.constant;

import com.jumi.microservice.domain.SourceClassifyVO;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * - - - - - - - - - - - - - - -
 * 素材分类类型配置
 * @author liuz
 * @date 2020/10/9 9:32
 * ToDoSomeThing
 * - - - - - - - - - - - - - - -
 */
@Component
@ConfigurationProperties(prefix = "source")
public class SourceClassifyConfig {

    @ApiModelProperty(value = "素材分类列表")
    List<SourceClassifyVO> classify;

    public List<SourceClassifyVO> getClassify() {
        return classify;
    }

    public void setClassify(List<SourceClassifyVO> classify) {
        this.classify = classify;
    }
}
